IWorkspace.SaveProject method

Namespace: NextDesign.Desktop

Description

Saves the specified project. If no project is specified, the current project currently opened in the application will be saved. Returns True if the save was successful. If you use this method in situations such as unable to get file permissions, insufficient free space, etc., the project will not be saved and this method will return False.

The save destination of the project is the path that can be obtained with IProject.Path. Therefore, this method cannot be executed for a project that has not been saved since it was newly created. Use SaveProjectAs () to save a new project.

argument

Name Type Description
project IProject Project

If null is specified, save the current project that the application is currently open.
(If there is no current project, nothing is done and False is returned)

Return value

  • bool

Exception

Name Exception Class Description
Illegal operation ExtensionInvalidOperationException When the save destination is not fixed (Path is not specified) in the save target project